#ifndef EGG_SCENEUTIL_H
#define EGG_SCENEUTIL_H

#include "Geometry.h"
#include "SceneNode.h"
#include <assimp/scene.h>
#include <assimp/cimport.h>
#include <assimp/postprocess.h>

namespace egg{

    typedef unordered_map<string,GeometryPtr> GeometryMap;

    class SceneUtil{
    public:
        static SceneNode* loadSceneNode(const string& fileName);
        static void loadGeometries(const string& fileName,GeometryMap& results);
    protected:
        static void processNode(const aiScene* scene,aiNode* node);
    };

}

#endif